package com.fbn;

import java.util.Set;
import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import javax.persistence.ManyToMany;
import javax.persistence.UniqueConstraint;
import javax.validation.constraints.NotNull;

@RooJavaBean
@RooToString
@RooEntity
public class Equipment {

    @NotNull
    private int id;

    private String name;

    @ManyToMany
    private Set<Seat> seats;

    private Integer EquipmentId;
}
